package com.ruoyi.common.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("获取路径请求模型")
public class QueryRouteListReq {

    @ApiModelProperty("路径id")
    private Integer id;

    @ApiModelProperty("路径名称")
    private String name;

    @ApiModelProperty("开始时间")
    private String startTime;

    @ApiModelProperty("结束时间")
    private String endTime;

    @NotNull(message = "页码不能为空")
    @ApiModelProperty(value = "第几页", required = true)
    private Integer pageNum;

    @NotNull(message = "页数不能为空")
    @ApiModelProperty(value = "每页显示数量", required = true)
    private Integer pageSize;
}
